package cn.wangchao.org.service;

import cn.wangchao.org.domain.Shop;
import cn.wangchao.basic.service.IBaseService;
import cn.wangchao.org.domain.ShopAuditLog;
import cn.wangchao.org.vo.ShopVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wangchao
 * @since 2022-06-12
 */
public interface IShopService extends IBaseService<Shop> {

    /**
     * 店铺入驻
     * @param shop
     */
    void settlement(Shop shop);

    /**
     * 审核通过
     * @param log
     */
    void pass(ShopAuditLog log);

    /**
     * 审核驳回
     * @param log
     */
    void reject(ShopAuditLog log);

    /**
     * 批量新增导入
     * @param shops
     */
    void batchSave(List<Shop> shops);

    /**
     * 报表
     */
    Map<String,Object> queryEcharts();

    /**
     * 激活
     * @param id
     */
    void activation(Long id);
}
